package com.gxa.modules.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("预约信息")
public class BookRegisterDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("预约挂号id")
    @TableId(value = "register_id", type = IdType.AUTO)
    private Long registerId;

    @ApiModelProperty("患者姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("就诊卡号")
    @TableField("cardNum")
    private String cardNum;

    @ApiModelProperty("患者id")
    @TableField("patient_id")
    private String patientId;

    @ApiModelProperty("挂号科室")
    @TableField("department")
    private String department;

    @ApiModelProperty("挂号类型")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("挂号费")
    @TableField("fee")
    private Double fee;

    @ApiModelProperty("挂号状态 0-正常  1-已完成 2-取消预约")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("就诊日期")
    @TableField("cure_time")
    private Date cureTime;

    @ApiModelProperty("候诊时间 9:30")
    @TableField("wait_cure_time")
    private String waitCureTime;

    @ApiModelProperty("预约日期")
    @TableField("appoint_time")
    private Date appointTime;

    @ApiModelProperty("医生id")
    @TableField("doctor_id")
    private Long doctorId;

    @ApiModelProperty("医院id")
    @TableField("hospital_id")
    private Long hospitalId;

    @ApiModelProperty("医院园区id")
    @TableField("hospital_part_id")
    private Long hospitalPartId;

    @ApiModelProperty("取消时间")
    @TableField("cancel_time")
    private Date cancelTime;

    @ApiModelProperty("取消原因")
    @TableField("cancel_reason")
    private String cancelReason;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;
}
